package tgc.edu.tms.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import tgc.edu.tms.custom.CommonService;
import tgc.edu.tms.entity.ClassType;
import tgc.edu.tms.repository.ClassTypeRepository;
@Service
public class ClassTypeService extends CommonService<ClassType, Integer>{
	@Autowired
	private ClassTypeRepository classTypeDAO;

	public ClassType findByName(String typeName) {
		return classTypeDAO.findByName(typeName);
	}
}
